/**
 * 1.本代码为云笔记web端开发小组共同拥有。
 * 2.组内成员有 聂道鑫、徐斌强、何瑞、钟倩。
 * 3.联系方式：442342707@qq.com
 */
package com.yunbiji.handler;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.jfinal.handler.Handler;
/**
 * Session操作类
 * @author 聂道鑫
 *
 */
public class SessionHandler extends Handler
{
	/**
	 * session操作具体方法
	 */
	public void handle(String target, HttpServletRequest request,
			HttpServletResponse response, boolean[] isHandled)
	{
		request.setAttribute("session", request.getSession());
		nextHandler.handle(target, request, response, isHandled);
	}
}